package com.example.vo.comment;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @Description:
 * @Author: aimi
 * @Create: 2024-05-16
 **/
@Data
public class SpuCommentVo {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String content;
    private String contentImg;
    private Long parentId;
    private Long uid;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    private Integer likes;
    private SpuCommentUserVo user;
    private SpuCommentReply reply;
}